<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Colin-iframe Test</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      #frame_full {
        width: 100vw;
        height: 100vh;
      }
    </style>
  </head>
  <body>
    <iframe id="frame_full" frameborder="0" scrolling="auto"></iframe>
    <script>
      function getQueryVariable(variable) {
        var query = window.location.search.substring(1)
        var vars = query.split('&')
        for (var i = 0; i < vars.length; i++) {
          var pair = vars[i].split('=')
          if (pair[0] == variable) {
            return pair[1]
          }
        }
        return false
      }

      //   let url = getQueryVariable('url');
      let url = 'https://www.baidu.com'
      // "https://tool.teqiyi.com/if.html?url=https://w.jzabt.cn/ssp-hd-h5/view/template/turntable.html?template_style_id=MRQDYHF_XGDZP_1605236772_AUTO&buy_adslot_id=6844458203943829&page_id=ywn8XFay&event_id=fbb5e8e6fea5422b84f00ab8a34e1818&adslot_id=2430499163730603&buy_app_id=10000258&page_type=PAGE&j_redirect_id=cccd4b6f4963dbace62a0e7552e3c5a0&activity_id=FZvQxGo5&support_interactions=SURFING&app_id=10000258&j_client_id=6b1f7be5f50e42619f5c53fcd859b041&ts=1622781600382";
      document.querySelector('#frame_full').src = url
    </script>
  </body>
</html>
